﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sealight.Core.Domain;
using Sealight.Core.DataAdapter;

namespace Sealight.CoreAPI
{
    public interface IOrdersService
    {
        order AddOrder(order item);
        order_product_variant AddOrderDetail(order_product_variant item);
        order_note AddOrderNote(order_note item);
        IList<order> GetOrders();
        order GetOrder(Guid id);
        IList<order_product_variant> GetOrderDetails(Guid order_id);
        IList<order> SearchOrders(string keyword, DateTime? from, DateTime? to);
    }
}
